package gameSite;

public class Product {

	public int productID;
	public String gameName;
	String console;
	String typeOfGame;
	String details;
	double price;
	
	Product()
	{
		productID = 0;
		  gameName = "";
		 console = "";
		 typeOfGame = "";
		 details = "";
		 price = 0;
	}
	
	
	Product(	int productID,String gameName, String console, String typeOfGame, String details, double price)				
	{
			this.productID = productID;
			this.gameName = gameName;
			this.console = console;
			this.typeOfGame = typeOfGame;
			this.details = details;
			this.price = price;
	}
	
	
	public int getProductID () {return productID;}
	public String getGameName() {return gameName;}
	public String getGameImageName(){return gameName.replaceAll(" ", "_");}
	public String getConsole() {return console;}
	public String getTypeOfGame(){return typeOfGame;}
	public double getPrice() {return price;}
	
	void setProductID (int x){productID = x;}
	void setGameName(String x){gameName= x;}
	void setConsole(String x){console=x;}
	void setTypeOFGame(String x){typeOfGame = x;}
	void setPrice(double x){price = x;}
	
}
